package com.hqyj.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hqyj.entity.Order;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author rock
 * @since 2022-09-20
 */
public interface OrderMapper extends BaseMapper<Order> {
       //如果该订单的菜品与套餐都有
       Order queryOrderByOid(int oid);
       //如果只有菜品没有套餐
       Order queryOrderByOidAndDishName(int oid);
       //如果只有套餐没有菜品
       Order queryOrderByOidAndMealsName(int oid);



}
